<template>
  <el-dialog
    class="dia-style"
    :title="title"
    :visible.sync="open"
    width="600px"
    destroy-on-close
    :close-on-click-modal="false"
 
  >
    <div>{{ logData }}</div>
  </el-dialog>
</template>
<script>
export default {
  components: {},
  props: {
    title: {
      type: String,
      default() {
        return '原始报文'
      }
    },
    logData: {
      type: String,
      default() {
        return ''
      }
    }
  },
  data() {
    return {
      open: false
    }
  },
  computed: {},
  watch: {},
  created() {},
  mounted() {},
  methods: {
    // 提交
    submitForm() {
      this.$refs['elForm'].validate((valid) => {

      })
    },
    resetForm() {
      this.$refs['elForm'].resetFields()
    },
    cancel() {
      this.$refs['elForm'].resetFields()
      this.open = false
    }
  }
}
</script>
  <style lang="scss" scoped>
::v-deep {
  .el-dialog:not(.is-fullscreen) {
    height: auto !important;
  }
  .el-dialog__body {
    height: calc(100% - 56px) !important;
    overflow: auto;
  }
}
</style>

